how to convert disk to thin on esxi6.7

  1. enable ssh on esxi

  2. convert disk to thin

    cd /vmfs/volumes/datastore1/
    vmkfstools -i example.vmdk -d thin tmp.vmdk
    vmkfstools -U example.vmdk
    vmkfstools -i tmp.vmdk -d thin example.vmdk
    vmkfstools -U tmp.vmdk
    
  3. remove old disk, add new disk on vsphere web